All Questions
Tagged with relationshipsclass
2 questions
4votes
3answers
3kviews
Factory pattern or builder pattern ? which one is suited for reading Finite Element Model data from a text file?
A follow up to another question (Making a design decision about reading model data from an input file). I wish to ask another question regarding builder or factory pattern. (I read that builder is ...
3votes
2answers
1kviews
MVC: "User" model gets big and crowded. Should methods that do CRUD operations on one-to-many relationship data be in different models?
In most MVC web projects there is a User class. Many times a user has something else in a one-to-many relationship, i.e. orders. If we have a user class that has many orders, should methods that add, ...